package org.blade.personal.framework.session;

import java.lang.reflect.Method;

import org.blade.personal.framework.orm.TypeAlias;
import org.blade.personal.framework.session.concre.ResultInfoPicker;

/**
 * 结果辅助
 * @author ZGF
 *
 */
public interface ResultHandler {

	
	/**
	 * 设置结果实体属性关系
	 * @param entityAttribute
	 */
	public void setResultEntityAttribute(TypeAlias alies);
	
	
	/**
	 * 获取实体名称
	 * @param columnName
	 * @return
	 */
	public String getEntityName(String columnName);
	
	/**
	 * 设置setter 方法
	 * @param key
	 * @param setter
	 */
	public void setSetter(String key, Method setter);
	
	public Method getSetter(String key);
	
	public ResultInfoPicker getPicker();
	
}
